package org.kzwl.entity.app;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author 张国伟/郭家恒
 * @since 2020-09-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cu_book_user")
public class BookUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增
     */
    @TableId(value = "cu_book_user_id",type = IdType.AUTO)
    private Integer cuBookUserId;

    /**
     * 图书编号
     */
    @TableField("cu_book_id")
    private Integer cuBookId;

    /**
     * 用户编号
     */
    @TableField("cu_user_id")
    private Integer cuUserId;

    /**
     * 创建时间
     */
    @TableField("cu_book_user_create_date")
    private LocalDateTime cuBookUserCreateDate;

    /**
     * 修改时间
     */
    @TableField("cu_book_user_update_date")
    private LocalDateTime cuBookUserUpdateDate;

    /**
     * 上次阅读到第几页
     */
    @TableField("cu_book_user_continue")
    private Integer cuBookUserContinue;


    /**
     * 0-否 1-是
     */
    @TableField("cu_book_user_is_show")
    private Integer cuBookUserIsShow;

}
